﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Honestysoft.Financing.Model
{
    public class EnumItem
    {
        /// <summary>
        /// 总投资类型
        /// </summary>
        public enum InvestmentType
        {
            /// <summary>
            /// 项目概算
            /// </summary>
            [Description("项目概算")]
            Budget = 110101,
            /// <summary>
            /// 971文件的总投资
            /// </summary>
            [Description("971文件的总投资")]
            Doc971
        }
        /// <summary>
        /// 项目阶段
        /// </summary>
        public enum ProjectPhase
        {
            /// <summary>
            /// 未知
            /// </summary>
            [Description("未知")]
            UnKnow = 110201,
            /// <summary>
            /// 未开始
            /// </summary>
            [Description("未开始")]
            WKS,
            /// <summary>
            /// 已开始
            /// </summary>
            [Description("已开始")]
            YKS,
            /// <summary>
            /// 前期
            /// </summary>
            [Description("前期")]
            QQ,
            /// <summary>
            /// 准备
            /// </summary>
            [Description("准备")]
            ZB,
            /// <summary>
            /// 施工
            /// </summary>
            [Description("施工")]
            SG,
            /// <summary>
            /// 竣工
            /// </summary>
            [Description("竣工")]
            JG,
            /// <summary>
            /// 决算
            /// </summary>
            [Description("决算")]
            JS
        }
        /// <summary>
        /// 建设性质
        /// </summary>
        public enum ConType
        {
            /// <summary>
            /// 未知
            /// </summary>
            [Description("未知")]
            UnKnow = 110301,
            /// <summary>
            /// 新建
            /// </summary>
            [Description("新建")]
            New,
            /// <summary>
            /// 续建
            /// </summary>
            [Description("续建")]
            Continue
        }
        /// <summary>
        /// 参建单位类型
        /// </summary>
        public enum UnitType
        {
            /// <summary>
            /// 项目单位
            /// </summary>
            [Description("项目单位")]
            ProjectUnit = 110401,
            /// <summary>
            /// 建设单位
            /// </summary>
            [Description("建设单位")]
            Construction,
            /// <summary>
            /// 代建单位
            /// </summary>
            [Description("代建单位")]
            DOwner,
            /// <summary>
            /// 勘察单位
            /// </summary>
            [Description("勘察单位")]
            KC,
            /// <summary>
            /// 设计单位
            /// </summary>
            [Description("设计单位")]
            Design,
            /// <summary>
            /// 监理单位
            /// </summary>
            [Description("监理单位")]
            Supervision,
            /// <summary>
            /// 施工单位
            /// </summary>
            [Description("施工单位")]
            Contractor
        }


        /// <summary>
        /// 项目文档
        /// 项目审批情况汇总表（附件2）
        /// </summary>
        public enum ProjectDocument
        {
            /// <summary>
            /// 项目简介
            /// </summary>
            [Description("项目简介")]
            Overview=110500,
            /// <summary>
            /// 可行性研究报告批复
            /// </summary>
            [Description("可行性研究报告批复")]
            Doc1 = 110501,
            /// <summary>
            /// 概算批复
            /// </summary>
            [Description("概算批复")]
            Doc2,
            /// <summary>
            /// 环境影响审查批复
            /// </summary>
            [Description("环境影响审查批复")]
            Doc3,
            /// <summary>
            /// 项目选址意见书
            /// </summary>
            [Description("项目选址意见书")]
            Doc4,
            /// <summary>
            /// 用地审查意见
            /// </summary>
            [Description("用地审查意见")]
            Doc5,
            /// <summary>
            /// 土地证
            /// </summary>
            [Description("土地证")]
            Doc6,
            /// <summary>
            /// 土地出让合同
            /// </summary>
            [Description("土地出让合同")]
            Doc7,
            /// <summary>
            /// 建设用地规划许可证
            /// </summary>
            [Description("建设用地规划许可证")]
            Doc8,
            /// <summary>
            /// 建设工程规划许可证
            /// </summary>
            [Description("建设工程规划许可证")]
            Doc9,
            /// <summary>
            /// 建筑工程施工许可证
            /// </summary>
            [Description("建筑工程施工许可证")]
            Doc10
        }
        /// <summary>
        /// 资金到位情况汇总表（附件3）
        /// </summary>
        public enum ZJDWDocument
        {
            /// <summary>
            /// 发票/收据
            /// </summary>
            [Description("发票/收据")]
            Doc1 = 110601,
            /// <summary>
            /// 预算拨款凭证/银行进账单
            /// </summary>
            [Description("预算拨款凭证/银行进账单")]
            Doc2,
            /// <summary>
            /// 财政资金拨款申请书/建设单位内部支付审批表
            /// </summary>
            [Description("财政资金拨款申请书/建设单位内部支付审批表")]
            Doc3,
            /// <summary>
            /// 其他资金到位证明材料
            /// </summary>
            [Description("其他资金到位证明材料")]
            Doc4
        }
        /// <summary>
        /// 合同情况审批资料
        /// 合同项下资料的汇总完整性
        /// </summary>
        public enum ContractDocument
        {
            /// <summary>
            /// 深圳市政府融资项目资金支付申请表（附件4）
            /// </summary>
            [Description("深圳市政府融资项目资金支付申请表（附件4）")]
            Doc1 = 110701,
            /// <summary>
            /// 工程款支付汇总表（附件5）
            /// </summary>
            [Description("工程款支付汇总表（附件5）")]
            Doc2,
            #region 资金支付资料明细表（附件6）
            /// <summary>
            /// 监理合同
            /// </summary>
            [Description("监理合同")]
            Doc3,
            /// <summary>
            /// 票据（发票/收据）
            /// </summary>
            [Description("票据（发票/收据）")]
            Doc4,
            /// <summary>
            /// 工程款支付内部审核表
            /// </summary>
            [Description("工程款支付内部审核表")]
            Doc5,
            /// <summary>
            /// 施工单位或其他相关单位工程款支付申请书
            /// </summary>            
            [Description("施工单位或其他相关单位工程款支付申请书")]
            Doc6,
            #endregion
            /// <summary>
            /// 项目用款计划表（附件7）
            /// </summary>
            [Description("项目用款计划表（附件7）")]
            Doc7,
            /// <summary>
            /// 单项工程施工合同或工程设计、咨询合同等
            /// </summary>
            [Description("单项工程施工合同或工程设计、咨询合同等")]
            Doc8,
            /// <summary>
            /// 中标通知书
            /// </summary>
            [Description("中标通知书")]
            Doc9
        }

        /// <summary>
        /// 资料接收状态
        /// </summary>
        public enum DocRecieveStatus
        {
            [Description("已接收")]
            Accept,
            /// <summary>
            /// 退回
            /// </summary>
            [Description("已退回")]
            Back,
            /// <summary>
            /// 已派单
            /// </summary>
            [Description("已派单")]
            Send,
            /// <summary>
            /// 已输出
            /// </summary>
            [Description("已输出")]
            Output
        }
        /// <summary>
        /// 批次状态
        /// </summary>
        public enum BatchStatus
        {
            /// <summary>
            /// 活动中
            /// </summary>
            [Description("活动中")]
            Active,
            /// <summary>
            /// 锁定
            /// </summary>
            [Description("锁定")]
            Lock,
            /// <summary>
            /// 输出
            /// </summary>
            [Description("输出")]
            Output
        }
        /// <summary>
        /// 统计方式
        /// </summary>
        public enum SumCategory
        {
            /// <summary>
            /// 按项目
            /// </summary>
            [Description("按项目")]
            ByProject,
            /// <summary>
            /// 按合同
            /// </summary>
            [Description("按合同")]
            ByContract
        }

        /// <summary>
        /// 内部审核作业表业务状态
        /// </summary>
        public enum AuditTableStatus
        { 
            /// <summary>
            /// 待签收
            /// </summary>
            [Description("待签收")]
            NoRec,
            /// <summary>
            /// 审核
            /// </summary>
            [Description("审核中")]
            FAppr,
            /// <summary>
            /// 复核
            /// </summary>
            [Description("复核中")]
            SAppr,
            /// <summary>
            /// 锁定
            /// </summary>
            [Description("锁定")]
            Lock,
            /// <summary>
            /// 输出
            /// </summary>
            [Description("输出")]
            Output
        }
        /// <summary>
        /// 工作流单据
        /// </summary>
        public enum WFBill
        {
            /// <summary>
            /// 批次管理
            /// </summary>
            Batch = 1001,
            /// <summary>
            /// 内部审核作业表
            /// </summary>
            AuditTable = 1002
        }

        public enum DataState
        {
            New,
            Modify,
            Delete,
            Unchange
        }
        /// <summary>
        /// 记事类型
        /// </summary>
        public enum NoteType
        { 
            /// <summary>
            /// 审核大事记
            /// </summary>
            [Description("审核大事记")]
            AuditCase=110601
        }
        /// <summary>
        /// 附件业务类型
        /// </summary>
        public enum AttachmentBuType
        {
            /// <summary>
            /// 项目文档
            /// </summary>
            [Description("项目文档")]
            ProjectDocument=110801,
            /// <summary>
            /// 合同文档
            /// </summary>
            [Description("合同文档")]
            ContractDocument
        }
    }
}
